
import { getRequest, postRequest } from '@/lib/axios';
import {
    MARQUEELIST, MARQUEEADD, MARQUEEDEL, WINDOWLIST,
    WINDOWADD,WINDOWDEL,MESSAGEIST,MESSAGEADD,MESSAGEDEL,
    MESSAGEUPDATE
   
} from '@/config/api-constant/slotsgame'

// 跑马灯通知列表
export const marqueesListApi = (param) => {
    return getRequest(MARQUEELIST, param)
}

// 添加跑马灯通知
export const marqueeAddApi = (param) => {
    return postRequest(MARQUEEADD, param)
}

// 删除跑马灯通知
export const marqueeDelApi = (param) => {
    return postRequest(MARQUEEDEL, param)
}

// 窗口列表
export const windowListApi = (param) => {
    return getRequest(WINDOWLIST, param)
}

// 添加窗口通知
export const windowAddApi = (param) => {
    return postRequest(WINDOWADD, param)
}

// 删除窗口通知
export const windowDelApi = (param) => {
    return postRequest(WINDOWDEL, param)
}

// 消息通知列表
export const messageListApi = (param) => {
    return getRequest(MESSAGEIST, param)
}

// 添加消息通知
export const messageAddApi = (param) => {
    return postRequest(MESSAGEADD, param)
}

// 删除消息通知
export const messageDelApi = (param) => {
    return postRequest(MESSAGEDEL, param)
}

// 更新消息通知
export const messageUpdateApi = (param) => {
    return postRequest(MESSAGEUPDATE, param)
}